package com.example.finalwork2.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("rule")
public class Rule {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String ruleNo;

    private String name;

    private String batteryType;

    private String signalType;

    private String description;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;


}

